#include "Int_Key.h"

bit Int_Key_IsSW1Press()
{
    if(SW1 == 0)
    {
        Com_Util_Delay1ms(10);
        if(SW1 == 0)
        {
            while(SW1 == 0);
            return 1;
        }
    }
    return 0;
}

bit Int_Key_IsSW2Press()
{
    if(SW2 == 0)
    {
        Com_Util_Delay1ms(10);
        if(SW2 == 0)
        {
            while(SW2 == 0);
            return 1;
        }
    }
    return 0;
}

bit Int_Key_IsSW3Press()
{
    if(SW3 == 0)
    {
        Com_Util_Delay1ms(10);
        if(SW3 == 0)
        {
            while(SW3 == 0);
            return 1;
        }
    }
    return 0;
}

bit Int_Key_IsSW4Press()
{
    if(SW4 == 0)
    {
        Com_Util_Delay1ms(10);
        if(SW4 == 0)
        {
            while(SW4 == 0);
            return 1;
        }
    }
    return 0;
}